package com.lottery.common.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import com.fasterxml.jackson.annotation.JsonInclude;
    import com.lottery.common.model.BaseModel;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 系统配置
    * </p>
*
* @author jobob
* @since 2019-09-23
*/
    @Data
    @TableName("tb_sys_config")
    @ApiModel(value="TbSysConfig对象", description="数据字典")
    public class SysConfig {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "配置类型")
    private String type;

    @ApiModelProperty(value = "类型描述")
    private String typeDesc;

    @ApiModelProperty(value = "配置编码")
    private String code;

    @ApiModelProperty(value = "配置值")
    private String value;

    private String remark;

    @TableField(exist=false)
    @ApiModelProperty(value = "是否已购xx 0 已购")
    private Integer isPay=1;

    @TableField(exist=false)
    @ApiModelProperty(value = "折扣")
    private String discount;
}
